﻿using System;
using SelfManagement.Mvc.Models;
using SelfManagement.Database.POCO;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
using System.Collections.Generic;


namespace SelfManagement.Web.Models.ViewModels.ArticleModels
{
    public class ArticlePagedListViewModel: PagedListModel<Article>
    {
        /// <summary>
        /// 按分类搜索
        /// </summary>
        public string Category_Id { get; set; }

        /// <summary>
        /// 文章类别
        /// </summary>
        public ArticleCategory Category { get; set; }
        
        /// <summary>
        /// 按月份搜索
        /// </summary>
        public DateTime Month { get; set; }

        /// <summary>
        /// 文章分类列表
        /// </summary>
        public List<ArticleCategory> Categories { get; set; }
    }
}